package com.tourlaid.mamagerment.enums

/**
 * Created by xiaoyongge on 2017/7/20.
 */
enum class TldExceptionEnum(code: String, desc: String) {

    ACCOUNT_NULL("1", "请输入账号"),

    PASSWORD_NULL("2", "请输入密码"),

    LOGIN_ERROR("3", "账号或者密码错误"),

    ACCOUNT_EXIST("4", "账号已经存在"),

    NAME_NULL("5", "请输入名称"),

    NAME_EXIST("6", "名称已经存在"),

    ID_NULL("7", "请传入ID"),

    CONTROLNO_EXIST("8", "编码已经存在"),

    CONTROLNO_NULL("9", "请输入编码"),

    GOODSID_NULL("10", "请选择商品"),

    SUPPLIERID_NULL("11", "请选择供应商"),

    STOCK_NULL("12", "请输入商品数量"),

    GOODS_NULL("13", "商品不存在"),

    SUPPLIER_NULL("14", "供应商不存在"),

    SHOPID_NULL("15", "请选择门店"),

    STOCKINID_NULL("16", "请选择批次"),

    STOCKIN_NULL("17", "批次不存在"),

    STOCK_TOO_BIG("18", "库存不够"),

    UN_LOGIN("19", "请重新登陆"),

    STOCK_TOO_SMALL("20", "数量太少"),

    TOUSERID_NULL("21", "没有被评论人"),

    THOUGHTID_NULL("22", "说说没有了"),

    COMMENT_NULL("23", "你好像什么都没说嘛"),

    COMMENT_TOO_LONG("24", "你好像说的太多了"),

    OTHER_THOUGHT("25", "评论不是这个说说的"),

    OTHER_COMMENT("26", "别人的评论，你无能为力"),

    SELF_REWARD("27", "自发自夸不好吧"),

    INTEGRAL_LOST("28", "sorry,积分不足"),

    THOUGHT_NULL("29", "写下想法呗"),

    THOUGHT_IMG_NULL("30", "无图无真相"),

    RECIEVERPHONE_NULL("31", "请输入收货人电话"),

    RECIEVERNAME_NULL("32", "请输入收货人"),

    ADDRESS_NULL("33", "请定位详细地址"),

    STORENAME_NULL("34", "请输入店铺名称"),

    HAS_STORE("35", "已经有店铺");

    var code = code

    var desc = desc
}